package com.ry.novel.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ry.novel.model.dto.BookCommentInfo;
import com.ry.novel.model.dto.condition.CommentQuery;
import com.ry.novel.model.entity.BookComment;

/**
 * @author ry
 * @since 2022-04-10 10:25
 **/
public interface CommentService {
    Page<BookCommentInfo> queryComment(CommentQuery commentQuery);
    void addComment(BookCommentInfo info);
    void updateComment(BookCommentInfo info);
    void deleteComment(Long id);
}
